<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<link rel="STYLESHEET" type="text/css"
	href="./oa2uap/js/tree/dhtmlxtree.css">
<script src="./oa2uap/js/tree/dhtmlxcommon.js"></script>
<script src="./oa2uap/js/tree/dhtmlxtree.js"></script>
<script src="./oa2uap/js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript">
	var typeXML = '${treeXML}';
	var typeJSON = '${typeJSON}';
	typeJSON = typeJSON == '' ? {} : eval("(" + typeJSON + ")");
</script>
<style>
<!--
#myDIV td {
	border: 1px #000 solid;
	font-family: 微软雅黑;
	font-size: 10.5pt;
}

td a {
	font-family: Arial;
	font-size: 10.5pt;
	color: #333399;
}

#qualifiedSuppliersTreeDIV td {
	border: none;
}

#potentialSuppliersTreeDIV td {
	border: none;
}

.manualInput {
	font-family: Arial;
	font-size: 10.5pt;
	width: 98%;
	color: #333399;
	border: none;
	background-color: #FFFFCC;
	border: none;
}

.readOnlyInput {
	font-family: Arial;
	font-size: 10.5pt;
	width: 98%;
	color: #333399;
	border: none;
	background-color: #FFFFee;
	border: none;
}

.disabledInput {
	font-family: Arial;
	font-size: 10.5pt;
	width: 98%;
	color: #333399;
	border: none;
	background-color: #F0F0F0;
}
-->
</style>
<body
	style="margin-left: 20px; margin-top: 20px; background-color: #fff;"
	onclick="document.getElementById('repeatOperatorDiv').style.display='none';">
	<div id='lodingDiv'
		style='display: none; filter: alpha(opacity =   30); opacity: 0.3; z-index: 2147483647; text-align: center; position: absolute; width: 100%; height: 600px; background: url("./oa2uap/img/loding.gif") no-repeat center center #666; left: 0; top: 0;'>
		&nbsp;</div>
	<div id='repeatOperatorDiv'
		style="width: 13px; display: none; position: absolute; z-index: 10000; left: 0; top: 0;">
		<img id='addImg' src="./oa2uap/img/add.gif" width="13"
			height="13" /><img id='deleteImg'
			src="./oa2uap/img/delete.gif" width="13" height="13" />
	</div>
	<div style="width: 740px;" id='myDIV'>
		<table
			style="border-collapse: collapse; border: none; TABLE-LAYOUT: fixed; BORDER-COLLAPSE: collapse; WORD-WRAP: break-word"
			cellpadding="0" border="0">
			<colgroup>
				<col align="center" width="110px" style="width: 110px;">
				<col width="640px" style="width: 640px;">
			</colgroup>
			<tbody valign="middle">
				<tr height="27px">
					<td>导出制造部</td>
					<td><select name='company' class="manualInput"
						disabled="disabled" onchange="onCompanySelectChange();">
							${company}
					</select></td>
				</tr>
			</tbody>
		</table>
		<table
			style="border-collapse: collapse; border: none; TABLE-LAYOUT: fixed; BORDER-COLLAPSE: collapse; WORD-WRAP: break-word"
			cellpadding="0" border="0">
			<colgroup>
				<col align="center" width="111px" style="width: 111px;">
				<col align="center" width="160px" style="width: 160px;">
				<col align="center" width="160px" style="width: 160px;">
				<col align="center" width="160px" style="width: 160px;">
				<col align="center" width="157px" style="width: 160px;">
			</colgroup>
			<tbody valign="middle" id='providerInfoTbody'>
				<tr height="27px">
					<td style="border-top: none;">所在组织</td>
					<td style="border-top: none;">失效公司名称</td>
					<td style="border-top: none;">供应商编号</td>
					<td style="border-top: none;">失效地点</td>
					<td style="border-top: none;">失效日期</td>
				</tr>
				<tr height="27px" onclick="showRepeatOperatorButton(this);">
					<td><input name="organization" class="disabledInput"
						disabled="disabled"></td>
					<td><input name="companyName" class="disabledInput"
						disabled="disabled"></td>
					<td><input name="companyCode" class="disabledInput"
						onchange="queryCompanyName(this);" disabled="disabled"></td>
					<td><input name="companyAddress" class="disabledInput"
						disabled="disabled"></td>
					<td><input name="invalidDate" class="disabledInput"
						onfocus="WdatePicker({readOnly:true})" readonly="readonly"
						disabled="disabled"> <!-- 合格供应商供货范围 --> <input
						name="qualifiedSupplyRange" type="hidden"> <!-- 潜在供应商供货范围 -->
						<input name="potentialSupplyRange" type="hidden"></td>
				</tr>
			</tbody>
		</table>
		<table
			style="border-collapse: collapse; border: none; TABLE-LAYOUT: fixed; BORDER-COLLAPSE: collapse; WORD-WRAP: break-word"
			cellpadding="0" border="0">
			<colgroup>
				<col align="center" width="110px" style="width: 110px;">
				<col width="265px" style="width: 265px;">
				<col width="162px" style="width: 160px;">
				<col width="160px" style="width: 160px;">
				<col width="54px" style="width: 55px;">
			</colgroup>
			<tbody valign="middle">
				<tr height="27px" style="display: none;" id="groupManageTR">
					<td style="border-top: none;">集团管控</td>
					<td colspan="4" style="border-top: none;"><input type="radio"
						name="groupManage" disabled="disabled"><a>在集团重点管控物料类别清单内</a>
						<input type="radio" name="groupManage" disabled="disabled"><a>不在集团重点管控类别清单内</a></td>
				</tr>
				<tr height="27px">
					<td colspan="5" align="center">失效范围</td>
				</tr>
				<tr>
					<td colspan="5" align="center" style="border-top: none;">
						<div
							style="float: left; width: 50%; border-right: 1px #000 solid; padding: 3px 0px 3px 0px;">合格供应商名录</div>
						<div style="padding: 3px 0px 3px 0px;">潜在供应商名录</div>
					</td>
				</tr>
				<tr valign="top">
					<td colspan="5" align="left">
						<div id="qualifiedSuppliersTreeDIV"
							style="height: 230px; float: left; width: 50%; border-right: 1px #000 solid;"></div>
						<div id="potentialSuppliersTreeDIV" style="height: 230px;"></div>
					</td>
				</tr>
				<tr height="27px">
					<td>处理意见</td>
					<td colspan="4" style="border-top: none;"><input type="radio"
						name="opinion" disabled="disabled"><a>列入黑名单</a> <input
						type="radio" name="opinion" disabled="disabled"><a>停用</a></td>
				</tr>
				<tr height="40px" valign="bottom">
					<td colspan="5" style="BORDER: none;">
						<div style="padding-top: 5" align="center">
							<input id="submitButton"
								style="FONT-SIZE: 10pt; WIDTH: 72px; FONT-FAMILY: 微软雅黑"
								type="button" size="22" value="确定" onclick="onButtonClick();" />
						</div>
					</td>
				</tr>
			</tbody>
		</table>
	</div>
</body>
<script src="./oa2uap/js/invalidProvider.js"></script>
</html>
